package com.example.demo2.entity;

import java.math.BigDecimal;

/**
 * @author
 * @version 1.0
 * @description TODO
 * @date 2024/7/5 14:31
 */
public class ComparisonResults {
    private int id;
    private BigDecimal molecularWeight;
    private BigDecimal rtMin;
    private Double result;
    private String content;
    private String name;
    private String formula;
    private String comparisonName;
    //构造函数
    public ComparisonResults(BigDecimal molecularWeight, BigDecimal rtMin, double result, String content, String name, String formula, String comparisonName) {
        this.molecularWeight = molecularWeight;
        this.rtMin = rtMin;
        this.result = result;
        this.content = content;
        this.name = name;
        this.formula = formula;
        this.comparisonName = comparisonName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public BigDecimal getMolecularWeight() {
        return molecularWeight;
    }

    public void setMolecularWeight(BigDecimal molecularWeight) {
        this.molecularWeight = molecularWeight;
    }

    public BigDecimal getRtMin() {
        return rtMin;
    }

    public void setRtMin(BigDecimal rtMin) {
        this.rtMin = rtMin;
    }

    public double getResult() {
        return result;
    }

    public void setResult(double result) {
        this.result = result;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFormula() {
        return formula;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }
    public String getComparisonName() {
        return comparisonName;
    }

    public void setComparisonName(String comparisonName) {
        this.comparisonName = comparisonName;
    }
}